ProStructures Help

Manually Committing SQL Statements

SQL statements are generated by ProStructures each time you use certain database tools and key-ins. For example, ProStructures generates a SQL INSERT statement when you use the Attach Active Entity tool with Linkage Mode set to New.

By default, ProStructures immediately commits SQL statements to the database software. In an alternate mode, ProStructures commits statements only when your input necessitates the addition of a row to a database table. The process of adding rows requires the database software to lock tables, and commitment is required to release those locks. The alternate mode can be useful when it is desirable to be able to undo uncommitted SQL statements.

Note: You must type COMMIT before exiting ProStructures when the AUTOCOMMIT mode is set to OFF. Otherwise uncommitted transactions will be discarded.